package com.situ.spring.proxy;

public class MiShu implements IQianzi{
    private DongShiZhang dongShiZhang;

    public MiShu(DongShiZhang dongShiZhang) {
        this.dongShiZhang = dongShiZhang;
    }

    @Override
    public void qianZi() {
        // 判断是不是合法
        System.out.println("MiShu.qianZi before");
        dongShiZhang.qianZi();
        System.out.println("MiShu.qianZi after");
    }
}
